package com.etc.service;

import java.util.List;

import com.etc.entity.Customer;
import com.etc.entity.Discuss;
import com.etc.entity.Games;
import com.etc.entity.OrderMsg;

public interface CustomerService {
	
	Customer search(int id);
	
	int update(String nickname, String mobile, String password, int id);

	List<OrderMsg> searchOrder(int id,int status);

	List<Games> searchGames(int id);
	
	int del(int id);

	int updatePassword(String querenmima, int id);

	List<Discuss> searchDiscuss(int id);

	List<OrderMsg> searchOrderChao(int id, int status);
	
	
	/**
	 * 手机查询用户列表
	 * @param Customer
	 * @return
	 */
	Customer findCustomerByMobile(String customermobile);
	/**
	 * 添加用户
	 * @param customernickname
	 * @return
	 */
	boolean addCustomer(Customer customer);
	/**
	 *名字查询列表
	 * @param customernickname
	 * @return
	 */
	Customer findCustomerByNickname(String customernickname);
}
